import request from "@/utils/request";
export default {
 // GET /admin/product/getCategory1
//getCategory1
  getCategory1(){
    return request.get(`/admin/product/getCategory1`)
  },
//根据选择分类1的id  请求分类2
//GET /admin/product/getCategory2/{category1Id}
//getCategory2
  getCategory2(category1Id){
    return request.get(`/admin/product/getCategory2/${category1Id}`)
  },
// GET/admin/product/getCategory3/{category2Id}  //getCategory3根据 选择分类2的id 请求分类3

  getCategory3(category2Id){
    return request.get(`/admin/product/getCategory3/${category2Id}`)
  }
}
